package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.GoodsVisit;
import com.weixing.mall.provider.model.dto.GoodsVisitDto;
import com.weixing.mall.provider.model.vo.GoodsVisitVo;

import java.util.List;
import java.util.Map;

/**
 * @author lgc
 * * <p>
 *  * 商品模块-商品浏览足迹 服务类
 *  * </p>
 * @Description: ${todo}
 * @date 2019/12/10 15:03
 */
public interface IGoodsVisitService extends IService<GoodsVisit> {
   List<GoodsVisitVo> selectByMemberId(Long member_id);
   List<Map<String,Object>> selectByMemberIdPage(Page page,Long member_id);
    int selectMyHistory(Long memberId);

    void deleteByMemberId(Long memberId);

    IPage save(GoodsVisitDto goodsVisitDto, Page page);
}
